home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2008 February / PCWFEB08.iso / Software / Freeware / Miro 1.0 / Miro_Installer.exe / resources / templates / video-info < prev   
Encoding:
Extensible Markup Language  |  2007-11-12  |  2.4 KB  |  59 lines

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
  3.  
  4. <html xmlns="http://www.w3.org/1999/xhtml"
  5.       xmlns:t="http://www.participatorypolitics.org/"
  6.       xmlns:i18n="http://www.participatoryculture.org/i18n"
  7.             eventCookie="@@@eventCookie@@@" dtvPlatform="@@@dtvPlatform@@@">  
  8.  
  9. <head>
  10.     <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  11.     <link href="resource:css/video-info.css" rel="stylesheet" type="text/css" />
  12.     <t:execOnLoad><![CDATA[
  13. this = app.controller.videoInfoItem
  14. thisItemView = views.items.filter(lambda x: x.getID() == this.getID())
  15. ]]></t:execOnLoad>
  16.     <t:execOnUnload><![CDATA[
  17. app.controller.videoInfoItem = None
  18. thisItemView.unlink()
  19. ]]></t:execOnUnload>
  20.     <t:include filename="dynamic.js" />
  21. </head>
  22. <body>
  23. <div id="videodetails-container">
  24. <div t:updateForView="thisItemView">
  25. <div id="videodetails-actions">
  26.      <div  t:showIf="this.hasSharableURL()">
  27.         <a href="#" onclick="return recommendItem('@@@this.getTitle()@@@', '@@@this.getURL()@@@', '@@@this.getFeed().getURL()@@@');"><span i18n:translate="">EMAIL A FRIEND</span></a>
  28.      </div>
  29.      <div t:showIf="this.getLink()">
  30.         <a href="***this.getLink()***"><span i18n:translate="">PERMALINK</span></a>
  31.      </div>
  32.      <div>
  33.         <span t:showIf="this.getExpiring()"><span class="expiration" t:replace="this.getExpirationString()" /></span>
  34.         <span t:showIf="this.showSaveButton()">
  35.       <a href="#" onclick="return eventURL('action:keepItem?item=@@@this.getID()@@@');"><span i18n:translate="">KEEP</span></a> 
  36.     </span>
  37.         <span t:showIf="this.getFeedURL() == u'dtv:singleFeed'">
  38.       <a href="#" onclick="return eventURL('action:addItemToLibrary?item=@@@this.getID()@@@');"><span i18n:translate="">ADD TO LIBRARY</span></a> 
  39.     </span>
  40.         <span t:hideIf="this.getFeedURL() == u'dtv:singleFeed'">
  41.         <span t:showIf="this.showSaveButton()"> - </span>
  42.       <a href="#" onclick="return eventURL('action:expirePlayingItem?item=@@@this.getID()@@@');"><span i18n:translate="">DELETE</span></a>
  43.         </span>
  44.       </div>
  45. </div>
  46. </div>
  47.     <div id="videodetails-channeltitle">
  48.         <h1 t:replace="this.getTitle()" /> 
  49.         <h2 t:replace="this.getFeed().getTitle()" />
  50.         <h3 t:replaceMarkup="this.getPaymentHTML()" />
  51.     </div>
  52.     <div id="videodetails-ad">
  53.         <span t:replaceMarkup="this.getAd()" />
  54.     </div>
  55. </div>
  56. </body>
  57.  
  58. </html>
  59.